package com.yjd.comm.easycard.dto;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：个人信息上传<br>
 * <b>time</b>：2015-4-1下午4:46:06 <br>
 * <b>author</b>： SongJian
 */
public class UploadBaseDto extends Model {

	private static final long serialVersionUID = 1L;
	/************基本信息************/
	// 真实姓名
	@NotEmpty(message="真实姓名不能为空")
	private String base_real_name;
	// 身份证号：
	@NotEmpty(message="身份证好不能为空")
	private String base_identity_id;
	// 年 龄：
	@NotNull(message="请填写年龄")
	@Min(0)
	private Integer base_age;
	// 性别:
	@NotNull(message="请选择性别")
	@Min(0)
	@Max(1)
	private Integer base_sex;
	// 手机号码：
	@NotNull(message="预留手机号不能为空")
	@Min(11111111111L)
	private Long base_phone;
	// 最高学历
	@Min(0)
	@NotNull(message="选择学历")
	private Integer base_max_edu;
	// 住宅性质
	@NotNull(message="住宅性质不能为空")
	@Min(0)
	private Integer base_home_type;
	// 住宅地址
	@NotEmpty(message="住宅地址不能为空")
	private String base_home_address;
	// 银行信用卡最高额度：
	@NotNull(message="请填写授信银行 信用卡最高额度")
	@Min(0)
	@Max(value=999999999,message="金额超出限制")
	private Double base_max_credit_money;
	// 信用卡授信银行：
	@NotNull(message="选择一个信用卡授信银行")
	@Min(0)
	private Integer base_bank;
	
	/**************家庭信息*************/
	// 婚姻状况
	
	@Min(1)
	@NotNull(message="婚姻状态不明")
	private Integer family_marry;
	// 直系亲属姓名
	@NotEmpty(message="直系亲属姓名")
	private String family_z_name;
	// 直系关系
	@NotNull(message="直接联系人关系没有选择")
	@Min(1)
	private Integer family_z_type;
	// 直系手机号
	@NotNull(message="直接联系人手机号不能为空")
	@Min(11111111111L)
	private Long family_z_mobile;
	// 其他联系人姓名
	@NotEmpty
	private String family_o_name;
	// 其他联系人关系
	@NotNull(message="其他联系人关系不明")
	@Min(1)
	private Integer family_o_type;
	// 其他联系人手机号
	@NotNull(message="其他联系人手机号不能为空")
	@Min(11111111111L)
	private Long family_o_mobile;
	
	/**************职业信息*************/
   //	单位名称
	@NotEmpty
	private String job_company_name;
   //	单位性质
	@NotNull(message="请选择单位性质")
	@Min(1)
	private Integer job_company_type;
   //	单位电话
	@NotEmpty(message="公司电话不能为空")
	private String job_company_tel;
  //	单位地址
	@NotEmpty(message="公司地址不能为空")
	private String job_company_address;
	//职位
	@NotEmpty(message="职位不能为空")
	private String job_position;
	//工作年限
	@NotNull(message="请选择工作年限")
	@Min(value=3,message="工作年限最少3年")
	private Integer job_work_years;
	//健康产业商会职务
	@NotNull(message="请选择健康产业商会职务")
	@Min(1)
	private Integer job_health_commerce_position;
	//所属区域商会
	@NotNull(message="请选择所属区域商会")
	@Min(1)
	private Integer job_area_commerce;
	
	 /**提款银行账户**/
	// 账户名称
	@NotEmpty(message="提款账户名称不能为空")
	private String fetch_bank_account;
	// 银行账号
	@NotNull(message="提款帐号")
	private Long fetch_bank_no;
	// 开 户 行
	@NotEmpty(message="提款开户行不能为空")
	private String fetch_bank_address;
	
	/***************补充字段******************/
	//用户邮箱
	@NotEmpty(message="用户邮箱")
	private String ext_email;
	//是否有房
	@NotNull(message="有房吗？")
	@Min(0)
	@Max(1)
	private Integer ext_isfang;
	//是否有房贷
	@NotNull(message="有房贷吗？")
	@Min(0)
	@Max(1)
	private Integer ext_isfangdai;
	//是否有车
	@NotNull(message="有车吗？")
	@Min(0)
	@Max(1)
	private Integer ext_ische;
	//是否有车贷
	@NotNull(message="有车贷吗？")
	@Min(0)
	@Max(1)
	private Integer ext_ischedai;
	//税后年收入
	@NotNull(message="税后年收入是？")
	@Min(0)
	private Integer job_income;
	
	public String getBase_real_name() {
		return base_real_name;
	}
	public void setBase_real_name(String base_real_name) {
		this.base_real_name = base_real_name;
	}
	public String getBase_identity_id() {
		return base_identity_id;
	}
	public void setBase_identity_id(String base_identity_id) {
		this.base_identity_id = base_identity_id;
	}
	public Integer getBase_age() {
		return base_age;
	}
	public void setBase_age(Integer base_age) {
		this.base_age = base_age;
	}
	public Integer getBase_sex() {
		return base_sex;
	}
	public void setBase_sex(Integer base_sex) {
		this.base_sex = base_sex;
	}
	public Long getBase_phone() {
		return base_phone;
	}
	public void setBase_phone(Long base_phone) {
		this.base_phone = base_phone;
	}
	public Integer getBase_max_edu() {
		return base_max_edu;
	}
	public void setBase_max_edu(Integer base_max_edu) {
		this.base_max_edu = base_max_edu;
	}
	public Integer getBase_home_type() {
		return base_home_type;
	}
	public void setBase_home_type(Integer base_home_type) {
		this.base_home_type = base_home_type;
	}
	public String getBase_home_address() {
		return base_home_address;
	}
	public void setBase_home_address(String base_home_address) {
		this.base_home_address = base_home_address;
	}
	public Double getBase_max_credit_money() {
		return base_max_credit_money;
	}
	public void setBase_max_credit_money(Double base_max_credit_money) {
		this.base_max_credit_money = base_max_credit_money;
	}
	public Integer getBase_bank() {
		return base_bank;
	}
	public void setBase_bank(Integer base_bank) {
		this.base_bank = base_bank;
	}
	public Integer getFamily_marry() {
		return family_marry;
	}
	public void setFamily_marry(Integer family_marry) {
		this.family_marry = family_marry;
	}
	public String getFamily_z_name() {
		return family_z_name;
	}
	public void setFamily_z_name(String family_z_name) {
		this.family_z_name = family_z_name;
	}
	public Integer getFamily_z_type() {
		return family_z_type;
	}
	public void setFamily_z_type(Integer family_z_type) {
		this.family_z_type = family_z_type;
	}
	public Long getFamily_z_mobile() {
		return family_z_mobile;
	}
	public void setFamily_z_mobile(Long family_z_mobile) {
		this.family_z_mobile = family_z_mobile;
	}
	public String getFamily_o_name() {
		return family_o_name;
	}
	public void setFamily_o_name(String family_o_name) {
		this.family_o_name = family_o_name;
	}
	public Integer getFamily_o_type() {
		return family_o_type;
	}
	public void setFamily_o_type(Integer family_o_type) {
		this.family_o_type = family_o_type;
	}
	public Long getFamily_o_mobile() {
		return family_o_mobile;
	}
	public void setFamily_o_mobile(Long family_o_mobile) {
		this.family_o_mobile = family_o_mobile;
	}
	public String getJob_company_name() {
		return job_company_name;
	}
	public void setJob_company_name(String job_company_name) {
		this.job_company_name = job_company_name;
	}
	public Integer getJob_company_type() {
		return job_company_type;
	}
	public void setJob_company_type(Integer job_company_type) {
		this.job_company_type = job_company_type;
	}
	public String getJob_company_tel() {
		return job_company_tel;
	}
	public void setJob_company_tel(String job_company_tel) {
		this.job_company_tel = job_company_tel;
	}
	public String getJob_company_address() {
		return job_company_address;
	}
	public void setJob_company_address(String job_company_address) {
		this.job_company_address = job_company_address;
	}
	public String getJob_position() {
		return job_position;
	}
	public void setJob_position(String job_position) {
		this.job_position = job_position;
	}
	public Integer getJob_work_years() {
		return job_work_years;
	}
	public void setJob_work_years(Integer job_work_years) {
		this.job_work_years = job_work_years;
	}
	public Integer getJob_health_commerce_position() {
		return job_health_commerce_position;
	}
	public void setJob_health_commerce_position(Integer job_health_commerce_position) {
		this.job_health_commerce_position = job_health_commerce_position;
	}
	public Integer getJob_area_commerce() {
		return job_area_commerce;
	}
	public void setJob_area_commerce(Integer job_area_commerce) {
		this.job_area_commerce = job_area_commerce;
	}
	public String getFetch_bank_account() {
		return fetch_bank_account;
	}
	public void setFetch_bank_account(String fetch_bank_account) {
		this.fetch_bank_account = fetch_bank_account;
	}
	public Long getFetch_bank_no() {
		return fetch_bank_no;
	}
	public void setFetch_bank_no(Long fetch_bank_no) {
		this.fetch_bank_no = fetch_bank_no;
	}
	public String getFetch_bank_address()
	{
		return fetch_bank_address;
	}
	public void setFetch_bank_address(String fetch_bank_address)
	{
		this.fetch_bank_address = fetch_bank_address;
	}
	public String getExt_email() {
		return ext_email;
	}
	public void setExt_email(String ext_email) {
		this.ext_email = ext_email;
	}
	public Integer getExt_isfang() {
		return ext_isfang;
	}
	public void setExt_isfang(Integer ext_isfang) {
		this.ext_isfang = ext_isfang;
	}
	public Integer getExt_isfangdai() {
		return ext_isfangdai;
	}
	public void setExt_isfangdai(Integer ext_isfangdai) {
		this.ext_isfangdai = ext_isfangdai;
	}
	public Integer getExt_ische() {
		return ext_ische;
	}
	public void setExt_ische(Integer ext_ische) {
		this.ext_ische = ext_ische;
	}
	public Integer getExt_ischedai() {
		return ext_ischedai;
	}
	public void setExt_ischedai(Integer ext_ischedai) {
		this.ext_ischedai = ext_ischedai;
	}
	public Integer getJob_income() {
		return job_income;
	}
	public void setJob_income(Integer job_income) {
		this.job_income = job_income;
	}
	
	
	
}
